Einhugur RawBitmap Objo plugin.

Einhugur.RawBitmap.DrawRect Method

Draws a rectangle at given location into the RawBitmap with a given color.

DrawRect(
   x as Integer,
   y as Integer,
   width as Integer,
   height as Integer,
   drawColor as Colour)

Parameters

x
The x-coordinate of the top-left corner of the rectangle.
y
The y-coordinate of the top-left corner of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.
drawColor
The color of the rectangle.

Remarks

Note even if this class has some methods to draw then it is not a Graphics context and never will be. The few drawing commands are more of to help make debugging easier.

This method is not supported in CMYK color space, or 32bit floating point RGB color space. When used in unsupported color space the method will silently fail.

See Also

Einhugur.RawBitmap Class